package com.ipet.app.adapter;

/**
 * Created by jindongping on 16/3/18.
 */

import android.content.Context;
import android.view.ViewGroup;

import com.ipet.app.R;
import com.ipet.app.adapter.ViewHolder.MulImageViewHolder;
import com.ipet.app.bean.DisPlayImage;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter;

/**
 * 用于展示多张图片的 recycleView 的适配器
 * String[] 代表图片数据
 */
public class ViewMulImageAdapter extends RecyclerArrayAdapter<DisPlayImage> {

    public ViewMulImageAdapter(Context context) {
        super(context);
    }

    @Override
    public BaseViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) {
        return new MulImageViewHolder(parent, R.layout.view_image_view);
    }

}

